cut (someone) off at the knees

Translations
couper l'herbe sous le pied à quelqu'un
Definitions
To undermine or incapacitate someone, often by removing their support or resources, thereby rendering them less effective or successful.